#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : 2018-09-19 15:52:52
# @Author  : Your Name (you@example.org)
# @Link    : link
# @Version : 1.0.0

import json
from dbutils import dbhandler
from tables import BaseData, Authority


def pack_base_table():
    datalist = []
    templist = dbhandler.get_base_data()
    b = BaseData.BaseData()
    for _list in templist:
        datalist.append(b.get_value(_list))
    return datalist
